/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.uoc.tdp.pac4.beans;

import java.io.Serializable;

/**
 *
 * @author pguerreroj
 * CREATE TABLE ProveidorPeca (
    IdProveidorPeca integer NOT NULL,
    IdProveidor integer NOT NULL,
    IdPeca integer NOT NULL
    );
 */
public class ProveidorPeca implements Serializable{
    
    private static final long serialVersionUID = 1L;
    private int idProveidorPeca;
    private int idProveidor;
    private int idPeca;

    public ProveidorPeca() {
    }

    public ProveidorPeca(int idProveidorPeca, int idProveidor, int idPeca) {
        this.idProveidorPeca = idProveidorPeca;
        this.idProveidor = idProveidor;
        this.idPeca = idPeca;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public int getIdProveidorPeca() {
        return idProveidorPeca;
    }

    public int getIdProveidor() {
        return idProveidor;
    }

    public int getIdPeca() {
        return idPeca;
    }

    public void setIdProveidorPeca(int idProveidorPeca) {
        this.idProveidorPeca = idProveidorPeca;
    }

    public void setIdProveidor(int idProveidor) {
        this.idProveidor = idProveidor;
    }

    public void setIdPeca(int idPeca) {
        this.idPeca = idPeca;
    }
    
    
    
}
